﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ShowVideoLecture.aspx.cs" Inherits="Electure.ShowVideoLecture" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div class="row">
        <div class="col-sm-12">
            <div class="thumbnail">
                <asp:Image ID="imagePreview" style="max-height: 200px" runat="server" />
                <div class="caption">                    
                    <h3 runat="server" id="lbName"></h3>
                    <small>Додано:&nbsp;<span id="lbCreateDate" runat="server"></span></small>
                    <p id="newsDescription" runat="server"></p>
                </div>
                <asp:Repeater ID="repVideos" OnItemDataBound="repVideos_ItemDataBound" runat="server">
                    <ItemTemplate>      
                        <div style="margin: 10px 0">                 
                            <video id="MY_VIDEO_1" class="video-js vjs-default-skin" controls preload="metadata" width="640" height="264" data-setup="{}">
                                <source src="<%# Eval("FullPath")%>" type='video/mp4'>
                                <p class="vjs-no-js">To view this video please enable JavaScript, and consider upgrading to a web browser that <a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a></p>
                            </video>
                        </div>
                    </ItemTemplate>
                </asp:Repeater>
            </div>
        </div>
    </div>
</asp:Content>
